#define LPDIRECT3DDEVICE9 void*
#define D3DFORMAT DWORD
#define D3DPOOL DWORD
#define D3DCOLOR DWORD
#define D3DXIMAGE_INFO void
#define LPDIRECT3DTEXTURE9 void
#define D3DXMATRIX void
#define PD3DXMATRIX D3DXMATRIX*
#define D3DXVECTOR2 void
#define PD3DXVECTOR2 D3DXVECTOR2*
//define D3DXVECTOR3 void
//define PD3DXVECTOR3 D3DXVECTOR3*

typedef struct D3DXVECTOR3 {
  FLOAT x;
  FLOAT y;
  FLOAT z;
} D3DXVECTOR3, *PD3DXVECTOR3;
#define D3DXVECTOR4 void
#define PD3DXVECTOR4 D3DXVECTOR4*
#define LPD3DXSPRITE void
#define D3DXMACRO void
#define LPD3DXINCLUDE void*
#define LPD3DXEFFECTPOOL void*
#define LPD3DXEFFECT void
#define LPD3DXBUFFER void
#define D3DXFONT_DESC void
#define LPD3DXFONT void
#define D3DXQUATERNION void
#define PD3DXQUATERNION D3DXQUATERNION*
#define D3DXIMAGE_FILEFORMAT DWORD
#define LPDIRECT3DBASETEXTURE9 void*
#define LPDIRECT3DSURFACE9 void*
#define LPD3DXCONSTANTTABLE void
#define D3DXPLANE void
#define PD3DXPLANE D3DXPLANE*
#define LPD3DXEFFECTCOMPILER void*
#define LPDIRECT3DCUBETEXTURE9 void